inheritance rules

继承规则